
import 'package:json_annotation/json_annotation.dart';

part 'leads_source_report.g.dart';

@JsonSerializable()
class LeadsSourceReport {
  int? shopNum;
  String? title;
  List<LeadsSourceReportItem>? itemList;

  LeadsSourceReport({
    this.shopNum,
    this.title,
    this.itemList,
  });

  factory LeadsSourceReport.fromJson(Map<String, dynamic> json) => _$LeadsSourceReportFromJson(json);

  Map<String,dynamic> toJson() => _$LeadsSourceReportToJson(this);
}


@JsonSerializable()
class LeadsSourceReportItem {
  int? clueNum;
  String? itemName;
  int? clueRate;

  LeadsSourceReportItem({
    this.clueNum,
    this.itemName,
    this.clueRate,
  });

  factory LeadsSourceReportItem.fromJson(Map<String, dynamic> json) => _$LeadsSourceReportItemFromJson(json);

  Map<String,dynamic> toJson() => _$LeadsSourceReportItemToJson(this);
}